#include <REGX52.H>
#include "Delay.h"
sbit Buzzer=P2^5;
void Delay500us()		//@12.000MHz
{
	unsigned char i;
	i = 247;
	while (--i);
}
unsigned int i ;
void Buzzer_Time(unsigned int ms)
{
	for(i=0;i<ms*2;i++)
	{
		Buzzer=!Buzzer;
		Delay500us();
	}
	
}
